<template>
    <div class="water-form-container">
        <div class="water-box">
            <div class="water-content">
                <h2>登陆</h2>
                <div>
                    <input type="text" placeholder="请输入用户名">
                </div>
                <div>
                    <input type="password" placeholder="请输入密码">
                </div>
                <div>
                    <input type="submit" value="登陆">
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: "WaterForm",
    components: {},
    data() {
        return {
        }
    },
    computed: {},
    methods: {
    },
    mounted() {
        
    },
}
</script>

<style scoped>
.water-form-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.water-box {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 150px auto;
    width: 470px;
}

.water-content{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 350px;
    height: 350px;
    padding: 60px 40px;
    box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.05),
    25px 35px 20px rgba(0, 0, 0, 0.05),
    25px 30px 30px rgba(0, 0, 0, 0.05),
    inset -20px -20px 25px rgba(255, 255, 255, 0.9);
    border-radius: 52% 48% 33% 67% / 38% 45% 55% 62%;
    transition: 0.5s;
}

.water-content:hover{
    border-radius: 50%;
}

.water-content::before{
    content: "";
    position: absolute;
    top: 50px;
    left: 85px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.9;
}

.water-content::after{
    content: "";
    position: absolute;
    top: 90px;
    left: 110px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.9;
}

.water-content div{
    position: relative;
    width: 225px;
    border-radius: 25px;
    box-shadow: inset 2px 5px 10px rgba(0, 0, 0, 0.1),
    inset -2px -5px 10px rgba(255, 255, 255, 1),
    15px 15px 10px rgba(0, 0, 0, 0.05),
    15px 10px 15px rgba(0, 0, 0, 0.025);
}

.water-content div::before{
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 65%;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.water-content input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    padding: 10px 15px;
}

.water-content input[type="submit"]{
    color: #fff;
    cursor: pointer;
}

.water-content div:last-child{
    width: 120px;
    background: #ff0f5b;
    transition: 0.5s;
    box-shadow: inset 2px 5px 10px rgba(0, 0, 0, 0.1),
    15px 15px 10px rgba(0, 0, 0, 0.05),
    15px 10px 15px rgba(0, 0, 0, 00.025);
}

.water-content div:last-child:hover{
width: 150px;
}

</style>